package com.sakura.mall.coupon.homeSubjectSpu.service;

import com.sakura.mall.common.response.Page;
import com.sakura.mall.coupon.homeSubjectSpu.domain.entity.HomeSubjectSpuEntity;
import com.sakura.mall.coupon.homeSubjectSpu.domain.request.AddHomeSubjectSpuRequest;
import com.sakura.mall.coupon.homeSubjectSpu.domain.request.UpdateHomeSubjectSpuRequest;
import com.sakura.mall.coupon.homeSubjectSpu.domain.request.HomeSubjectSpuPageRequest;
import com.baomidou.mybatisplus.extension.service.IService;
import com.sakura.mall.coupon.homeSubjectSpu.domain.vo.HomeSubjectSpuVo;

/**
 * 专题商品 service
 *
 * @author sakura
 */
public interface HomeSubjectSpuService extends IService<HomeSubjectSpuEntity> {
    

    /**
     * 分页查询
     *
     * @param request 请求
     * @return ret
     */
    Page<HomeSubjectSpuVo> queryPage(HomeSubjectSpuPageRequest request);

    /**
    * 注册用户
    *
    * @param request 请求
    */
    void add(AddHomeSubjectSpuRequest request);
    

    /**
     * 更新用户
     *
     * @param id      id
     * @param request 更新
     */
    void updateById(Long id, UpdateHomeSubjectSpuRequest request);
}
